home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-03 | 1.3 KB | 36 lines | [TEXT/CWIE] |
- 07Jul95
-
- Howdy.
-
- I have taken the string and regular expression classes from the GNU C++ lbg++2.3.1
- and brutally hacked them so they compile under CW6. I turned off iostream because
- I don't need it and didn't want to figure it out -- and I made a bunch of "class-less"
- inlines into regular functions because CW was complaining about "invalid inlines"
- and I didn't want to figure that out either -- since I don't need the cat() functions
- to be very efficient.
-
- To use these add the source files
- String.cc
- Regex.cc
- regexlc.cc
- alloca.c
- error.cc
- ...to your project. Compile the whole mess in C++. I am using Apple C++ model.
-
- (Our version of 'error.cc' throws an exception with some home-grown macro stuff
- -- not included -- you should modify it to perform the correct error handling
- in your situation -- the original called abort() where I am making a FAIL() call.)
-
- Changes I made are commented with a july date and my 'ww' initials. I also changed
- some file names to eliminate the upper/lowercase naming conflict on the mac -- these
- files now end in 'lc' which means 'lower case.'
-
- Hope my work saves you an hour or two, and should you wind up making it better send
- me some email so I can get my grubby little hands on your changes.
-
- Cheers --
-
- Ward Willats
- ward@wardco.com
- ward@cyno.com
-